package it.univaq.mwt.business;

import java.util.ArrayList;
import java.util.List;
import java.util.Set;

import it.univaq.mwt.exceptionmonitor.WishlistUserException;
import it.univaq.mwt.exceptionmonitor.WishlistrMessage;
import it.univaq.mwt.model.entity.Users;

public interface UserService {

	public Users getLogin(Users users) ;
	public boolean isAdmin(Users users) ;
	public boolean isUser(Users users) ;
	public void getLogout(Users users) ;
	public void getForgot(Users users) ;
	public void getSingup(Users users) ;
	public void setRegisterUser(Users users) throws WishlistUserException;
	public ArrayList<Users> getUserList(String user) ;
	public List<Users> getList(int i, int pagination) ;
	public int getRegisteredNumber() ;
	public Users getUser(int id) ;
	public void setEditUser(int id, Users u) throws WishlistUserException ;
	public void deleteUser(int id) throws WishlistUserException ;
	public Set<Users>getListUserFriend(int id_user) ;
	public void setFriendUser(int id_user, int id_friend) ;
	public void deleteFriendUser(int id_user, int id_friend) ;
	void addUserStartup(Users user) throws  WishlistUserException;
	public void editUserProfile(Users user) throws WishlistUserException ;	
}